
#ifndef __TAPI_CMD_H__
#define __TAPI_CMD_H__

#include "tapi_aci_cmh.h"
#include "tapi_gaci_cmh.h"

#define NO_ASCIIZ
#define SMS_PDU_SUPPORT
#define SIM_TOOLKIT
// #define MFW
#define TI_PS_FF_EM
#define TI_GPRS
//#define TI_PS_FF_SATE


struct TAPI_ATCMD_TBL {
    /*==== PROTOTYPES =================================================*/
    T_ACI_RETURN (*sAT_PlusCGSN)( T_ACI_CMD_SRC srcId,
                                    CHAR *imei);
    T_ACI_RETURN (*sAT_PercentALS)( T_ACI_CMD_SRC srcId,
                                    T_ACI_ALS_MOD mode   );
    T_ACI_RETURN (*qAT_PercentALS)( T_ACI_CMD_SRC srcId,
                                    T_ACI_ALS_MOD *mode  );
    T_ACI_RETURN (*tAT_PercentALS)( T_ACI_CMD_SRC srcId,
                                    T_ACI_ALS_MOD *ALSmode);
    T_ACI_RETURN (*sAT_PlusCFUN) ( T_ACI_CMD_SRC  srcId,
                                   T_ACI_CFUN_FUN fun,
                                   T_ACI_CFUN_RST rst );
    T_ACI_RETURN (*sAT_PercentSECP )( T_ACI_CMD_SRC srcId,
                                    CHAR * pin,
                                    CHAR * newpin );
    T_ACI_RETURN (*sAT_PercentSECS)( T_ACI_CMD_SRC srcId,
                                    T_ACI_SECS_STA securityState,
                                    CHAR * code );
    T_ACI_RETURN (*qAT_PercentSECS )( T_ACI_CMD_SRC srcId,
                                  T_ACI_SECS_STA *status);
    T_ACI_RETURN (*qAT_PlusCFUN  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CFUN_FUN *fun );
    T_ACI_RETURN (*sAT_PlusCPIN  )( T_ACI_CMD_SRC srcId,
                                CHAR * pin,
                                CHAR * newpin );
    T_ACI_RETURN (*qAT_PlusCPIN) (T_ACI_CMD_SRC srcId,
                                T_ACI_CPIN_RSLT *code);
    T_ACI_RETURN (*qAT_PlusCREG)( T_ACI_CMD_SRC srcId,
                                 T_ACI_CREG_STAT * stat,
                                 USHORT          *lac,
                                 USHORT          *cid);
    T_ACI_RETURN (*qAT_PercentCREG )( T_ACI_CMD_SRC   srcId,
                                  T_ACI_CREG_STAT *stat,
                                  USHORT          *lac,
                                  USHORT          *ci,
                                  U8              *gprs_ind,
                                  U8              *rt);
#ifdef TI_DUAL_MODE
    T_ACI_RETURN (*sAT_PlusCOPS  )( T_ACI_CMD_SRC srcId,
                                T_ACI_COPS_MOD  mode,
                                T_ACI_COPS_FRMT format,
                                CHAR * oper,
                                T_ACI_COPS_ACT act);
    T_ACI_RETURN (*qAT_PlusCOPS  )( T_ACI_CMD_SRC srcId,
                                T_ACI_COPS_MOD * mode,
                                T_ACI_COPS_FRMT * format,
                                CHAR * oper,
                                T_ACI_COPS_ACT * act);
#else
    T_ACI_RETURN (*sAT_PlusCOPS  )( T_ACI_CMD_SRC srcId,
                                T_ACI_COPS_MOD  mode,
                                T_ACI_COPS_FRMT format,
                                CHAR * oper );
    T_ACI_RETURN (*qAT_PlusCOPS  )( T_ACI_CMD_SRC srcId,
                                T_ACI_COPS_MOD * mode,
                                T_ACI_COPS_FRMT * format,
                                CHAR * oper);
#endif /* TI_DUAL_MODE */

    T_ACI_RETURN (*tAT_PlusCOPS  )( T_ACI_CMD_SRC srcId,
                                SHORT startIdx,
                                SHORT * lastIdx,
                                T_ACI_COPS_OPDESC * operLst);
    T_ACI_RETURN (*sAT_PercentCOPS  )( T_ACI_CMD_SRC srcId,
                                   T_ACI_COPS_MOD  mode,
                                   T_ACI_COPS_FRMT format,
                                   CHAR * oper );
    T_ACI_RETURN (*qAT_PercentCOPS )( T_ACI_CMD_SRC srcId,
                                  T_ACI_COPS_MOD * mode,
                                  T_ACI_COPS_FRMT * format,
                                  T_ACI_COPS_SVST * svrStatus,
                                  CHAR * oper );

#ifdef TI_PS_3GPP_R5
    T_ACI_RETURN (*sAT_PlusCPOL  )( T_ACI_CMD_SRC srcId,
                                SHORT index,
                                T_ACI_CPOL_FRMT format,
                                CHAR * oper,
                                SHORT index2,
                                T_ACI_CPOL_MOD mode,
                                T_ACI_CPOL_ACTN gsm_actn,
                                T_ACI_CPOL_ACTN gsm_compact_actn,
                                T_ACI_CPOL_ACTN utran_actn);
#else
    T_ACI_RETURN (*sAT_PlusCPOL  )( T_ACI_CMD_SRC srcId,
                                SHORT index,
                                T_ACI_CPOL_FRMT format,
                                CHAR * oper,
                                SHORT index2,
                                T_ACI_CPOL_MOD mode);
#endif /*TI_PS_3GPP_R5*/

    T_ACI_RETURN (*qAT_PlusCPOL  )( T_ACI_CMD_SRC srcId,
                                SHORT              startIdx,
                                SHORT             *lastIdx,
                                T_ACI_CPOL_OPDESC *operLst,
                                T_ACI_CPOL_MOD     mode );
    T_ACI_RETURN (*tAT_PlusCPOL  )( T_ACI_CMD_SRC srcId,
                                SHORT * lastIdx,
                                SHORT * usdNtry );

#ifdef TI_PS_3GPP_R5
    T_ACI_RETURN (*sAT_PlusCPLS  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CPLS_PLMN_SEL plmn_sel);

    T_ACI_RETURN (*qAT_PlusCPLS (T_ACI_CMD_SRC srcId,
                              T_ACI_CPLS_PLMN_SEL *des_plmn_sel);

    T_ACI_RETURN (*tAT_PlusCPLS (T_ACI_CMD_SRC srcId,
                              T_ACI_CPLS_PLMN_SEL *des_arr,
                              BYTE *length);
#endif /*TI_PS_3GPP_R5*/

    T_ACI_RETURN (*qAT_PlusCLIP  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CLIP_STAT * stat);
    T_ACI_RETURN (*sAT_PlusCLIR  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CLIR_MOD mode );
    T_ACI_RETURN (*qAT_PlusCLIR  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CLIR_MOD * mode,
                                T_ACI_CLIR_STAT * stat);
    T_ACI_RETURN (*qAT_PercentCLIR  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CLIR_MOD * mode);
    T_ACI_RETURN (*qAT_PlusCOLP  )( T_ACI_CMD_SRC srcId,
                                T_ACI_COLP_STAT * stat);
    T_ACI_RETURN (*sAT_PercentCTTY)( T_ACI_CMD_SRC  srcId,
                                 T_ACI_CTTY_MOD mode,
                                 T_ACI_CTTY_REQ req,
                                 U8 tty_audio_mode);
    T_ACI_RETURN (*qAT_PercentCTTY)(T_ACI_CMD_SRC srcId,
                                 T_ACI_CTTY_MOD *mode,
                                 T_ACI_CTTY_REQ *req,
                                 T_ACI_CTTY_STAT *stat,
                                 T_ACI_CTTY_TRX *trx,
                                 U8 *tty_audio_mode);
    T_ACI_RETURN (*sAT_PlusCMOD  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CMOD_MOD mode );
    T_ACI_RETURN (*qAT_PlusCMOD  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CMOD_MOD * mode );
#if defined(TI_UMTS) && defined(TI_PS_3GPP_R5)
    T_ACI_RETURN (*sAT_PercentCMOD )( T_ACI_CMD_SRC srcId,
                                  T_ACI_CMOD_MOD mode );
    T_ACI_RETURN (*qAT_PercentCMOD )( T_ACI_CMD_SRC srcId,
                                  T_ACI_CMOD_MOD * mode );
#endif /* TI_UMTS && TI_PS_3GPP_R5 */
    T_ACI_RETURN (*sAT_PlusCBST  )( T_ACI_CMD_SRC srcId,
                                T_ACI_BS_SPEED speed,
                                T_ACI_CBST_NAM name,
                                T_ACI_CBST_CE ce);
    T_ACI_RETURN (*qAT_PlusCBST  )( T_ACI_CMD_SRC srcId,
                                T_ACI_BS_SPEED * speed,
                                T_ACI_CBST_NAM * name,
                                T_ACI_CBST_CE * ce);
    T_ACI_RETURN (*sAT_PlusCRLP  )( T_ACI_CMD_SRC srcId,
                                SHORT iws, SHORT mws,
                                SHORT t1, SHORT n2);
    T_ACI_RETURN (*qAT_PlusCRLP  )( T_ACI_CMD_SRC srcId,
                                SHORT* iws, SHORT* mws,
                                SHORT* t1,  SHORT* n2);
    T_ACI_RETURN (*sAT_PlusDS    )( T_ACI_CMD_SRC srcId,
                                T_ACI_DS_DIR dir,
                                T_ACI_DS_COMP comp,
                                LONG maxDict,
                                SHORT maxStr );
    T_ACI_RETURN (*qAT_PlusDS    )( T_ACI_CMD_SRC srcId,
                                T_ACI_DS_DIR* dir,
                                T_ACI_DS_COMP* comp,
                                LONG* maxDict,
                                SHORT* maxStr );
#ifdef NO_ASCIIZ
    T_ACI_RETURN (*sAT_Dm        )( T_ACI_CMD_SRC       srcId,
                                T_ACI_PB_TEXT       *str,
                       T_ACI_PB_STOR       mem,
                       SHORT               index,
                                T_ACI_D_CLIR_OVRD   clirOvrd,
                                T_ACI_D_CUG_CTRL    cugCtrl,
                                T_ACI_D_TOC         callType );
#else  /* ifdef NO_ASCIIZ */
    T_ACI_RETURN (*sAT_Dm        )( T_ACI_CMD_SRC       srcId,
                                CHAR                *str,
                                T_ACI_PB_STOR       mem,
                                SHORT               index,
                                T_ACI_D_CLIR_OVRD   clirOvrd,
                                T_ACI_D_CUG_CTRL    cugCtrl,
                                T_ACI_D_TOC         callType );
#endif /* ifdef NO_ASCIIZ */
    T_ACI_RETURN (*sAT_Dn        )( T_ACI_CMD_SRC srcId,
                                CHAR * number,
                                T_ACI_D_CLIR_OVRD clirOvrd,
                                T_ACI_D_CUG_CTRL  cugCtrl,
                                T_ACI_D_TOC       callType
#ifdef TI_PS_FF_TRANSPARENT_SAT
                                ,
                                USHORT             apduLen,
                                U8                 *apdu
#endif
                                );

    T_ACI_RETURN (*sAT_A         )( T_ACI_CMD_SRC srcId ,
		                        BOOL   isSATSetupCall);
    T_ACI_RETURN (*sAT_H         )( T_ACI_CMD_SRC srcId,
		                        BOOL isCancelSATSetupCall);
    T_ACI_RETURN (*sAT_O         )( T_ACI_CMD_SRC  srcId );
    T_ACI_RETURN (*sAT_Abort     )( T_ACI_CMD_SRC  srcId,
                                T_ACI_AT_CMD   cmd);
    T_ACI_RETURN (*sAT_end_ussd  )( T_ACI_CMD_SRC  srcId );
    T_ACI_ERR_DESC (*qAT_ErrDesc) ( void );
    T_ACI_RETURN (*sAT_PlusCSTA  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_TOA *    type);
    T_ACI_RETURN (*qAT_PlusCSTA  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_TOA *    type);
    T_ACI_RETURN (*sAT_PlusCHUP  )( T_ACI_CMD_SRC  srcId);
#ifdef SIM_PERS
/*For %MEPD -for querying ME Personalisation Data... */

    T_ACI_RETURN (*qAT_PercentMEPD)( T_ACI_CMD_SRC srcId,
                                T_SUP_INFO *sup_info );
#endif

    T_ACI_RETURN (*sAT_PlusCLCK  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CLCK_FAC fac,
                                T_ACI_CLCK_MOD mode,
                                CHAR  *        passwd,
                                T_ACI_CLASS    class_type);
    T_ACI_RETURN (*qAT_PlusCLCK  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CLCK_FAC fac,
                                T_ACI_CLASS    class_type,
                                T_ACI_CLSSTAT *clsStat);
/*QAT_PERCENTCLCK add for Simlock in Riviear MFW

Added by Shen,Chao  April 16th, 2003
*/
    T_ACI_RETURN (*qAT_PercentCLCK  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CLCK_FAC fac,
                                T_ACI_CLASS    class_type,
                                T_ACI_CLSSTAT *clsStat,
                                S8 *simClockStat);

    T_ACI_RETURN (*sAT_PlusCPWD  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CPWD_FAC fac,
                                CHAR  *        oldpwd,
                                CHAR  *        newpwd);
    T_ACI_RETURN (*sAT_PlusCCFC  )( T_ACI_CMD_SRC   srcId,
                                T_ACI_CCFC_RSN reason,
                                T_ACI_CCFC_MOD mode,
                                CHAR*          number,
                                T_ACI_TOA*     type,
                                T_ACI_CLASS    class_type,
                                CHAR*          subaddr,
                                T_ACI_TOS*     satype,
                                SHORT          time);
    T_ACI_RETURN (*qAT_PlusCCFC  )( T_ACI_CMD_SRC   srcId,
                                T_ACI_CCFC_RSN  reason,
                                T_ACI_CLASS     class_type);
    T_ACI_RETURN (*sAT_PlusCCUG  )( T_ACI_CMD_SRC   srcId,
                                T_ACI_CCUG_MOD  mode,
                                T_ACI_CCUG_IDX  index,
                                T_ACI_CCUG_INFO info);
    T_ACI_RETURN (*qAT_PlusCCUG  )( T_ACI_CMD_SRC   srcId,
                                T_ACI_CCUG_MOD  *mode,
                                T_ACI_CCUG_IDX  *index,
                                T_ACI_CCUG_INFO *info);
    T_ACI_RETURN (*sAT_PlusCTFR  )( T_ACI_CMD_SRC    srcId,
                                CHAR            *number,
                                T_ACI_TOA       *type,
                                CHAR            *subaddr,
                                T_ACI_TOS       *satype);
    T_ACI_RETURN (*sAT_PlusCCWA  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CCWA_MOD   mode,
                                T_ACI_CLASS      class_type);
    T_ACI_RETURN (*qAT_PlusCCWA  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CLASS      class_type);
    T_ACI_RETURN (*sAT_PlusVTS   )( T_ACI_CMD_SRC    srcId,
                                CHAR             dtmf,
                                T_ACI_VTS_MOD    mode,
                                SHORT            duration);
    T_ACI_RETURN (*sAT_PlusCHLD  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CHLD_MOD   mode,
                                CHAR            *call);
    T_ACI_RETURN (*sAT_PercentCHLD)( T_ACI_CMD_SRC    srcId,
                                T_ACI_CHLD_MOD   mode,
                                CHAR            *call);
    T_ACI_RETURN (*sAT_PlusIPR   )( T_ACI_CMD_SRC  srcId,
                                T_ACI_BD_RATE  rate);
    T_ACI_RETURN (*qAT_PlusIPR   )( T_ACI_CMD_SRC  srcId,
                                T_ACI_BD_RATE  *rate);
    T_ACI_RETURN (*sAT_PlusICF   )( T_ACI_CMD_SRC    srcId,
                                T_ACI_BS_FRM     format,
                                T_ACI_BS_PAR     parity);
    T_ACI_RETURN (*qAT_PlusICF   )( T_ACI_CMD_SRC    srcId,
                                T_ACI_BS_FRM    *format,
                                T_ACI_BS_PAR    *parity);
    T_ACI_RETURN (*sAT_PlusIFC   )( T_ACI_CMD_SRC  srcId,
                                T_ACI_RX_FLOW_CTRL DCE_by_DTE,
                                T_ACI_RX_FLOW_CTRL DTE_by_DCE );
    T_ACI_RETURN (*qAT_PlusIFC   )( T_ACI_CMD_SRC       srcId,
                                T_ACI_RX_FLOW_CTRL *DCE_by_DTE,
                                T_ACI_RX_FLOW_CTRL *DTE_by_DCE );
    T_ACI_RETURN (*sAT_AndD      )( T_ACI_CMD_SRC srcId,
                                UBYTE         value);
    T_ACI_RETURN (*qAT_AndD      )( T_ACI_CMD_SRC srcId,
                                UBYTE         *value);
    T_ACI_RETURN (*qAT_PlusCEER  )( T_ACI_CMD_SRC    srcId,
                                T_CAUSE_ps_cause   *cause);
    T_ACI_RETURN (*qAT_PlusCPAS  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CPAS_PAS  *pas);

    T_ACI_RETURN (*sAT_PlusCLAE  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CLAE_MOD mode );

    T_ACI_RETURN (*qAT_PlusCLAE  )( T_ACI_CMD_SRC srcId,
                                T_ACI_CLAE_MOD * mode);

    T_ACI_RETURN (*sAT_PlusCUSD  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_USSD_DATA *str,
                                SHORT            dcs);
    T_ACI_RETURN (*qAT_PlusCAOC  )( T_ACI_CMD_SRC    srcId,
                                LONG            *ccm);
    T_ACI_RETURN (*qAT_PlusCLCC  )( T_ACI_CMD_SRC       srcId,
                                T_ACI_CLCC_CALDESC *calLst);
    T_ACI_RETURN (*qAT_PercentCLCC  )( T_ACI_CMD_SRC       srcId,
                                T_ACI_CLCC_CALDESC *calLst);
    T_ACI_RETURN (*qAT_PlusCOPN  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_COPN_LID   lstId,
                                SHORT            startIdx,
                                SHORT           *lastIdx,
                                T_ACI_COPN_OPDESC *operLst);
    T_ACI_RETURN (*qAT_PercentCOPN)( T_ACI_CMD_SRC  srcId,
                                 T_ACI_COPS_FRMT format,
                                 CHAR *opr,
                                 T_ACI_OPER_NTRY *oper_ntry);
    T_ACI_RETURN (*sAT_PlusCACM  )( T_ACI_CMD_SRC    srcId,
                                CHAR            *passwd);
    T_ACI_RETURN (*qAT_PlusCACM  )( T_ACI_CMD_SRC    srcId,
                                LONG            *acm);
    T_ACI_RETURN (*sAT_PlusCAMM  )( T_ACI_CMD_SRC    srcId,
                                LONG             acmmax,
                                CHAR            *passwd);
    T_ACI_RETURN (*qAT_PlusCAMM  )( T_ACI_CMD_SRC    srcId,
                                LONG            *acmmax);
    T_ACI_RETURN (*sAT_PlusCPUC  )( T_ACI_CMD_SRC    srcId,
                                CHAR            *cur,
                                CHAR            *ppu,
                                CHAR            *passwd);
    T_ACI_RETURN (*qAT_PlusCPUC  )( T_ACI_CMD_SRC    srcId,
                                CHAR            *cur,
                                CHAR            *ppu);
    T_ACI_RETURN (*qAT_PlusCIMI  )( T_ACI_CMD_SRC    srcId,
                                CHAR            *imsi);
    T_ACI_RETURN (*sAT_PlusCSNS  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CSNS_MOD   mode);
    T_ACI_RETURN (*qAT_PlusCSNS  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CSNS_MOD  *mode);
#if defined(TI_UMTS) && defined(TI_PS_3GPP_R5)
    T_ACI_RETURN (*sAT_PercentCSNS )( T_ACI_CMD_SRC    srcId,
                                  T_ACI_CSNS_MOD   mode);
    T_ACI_RETURN (*qAT_PercentCSNS )( T_ACI_CMD_SRC    srcId,
                                  T_ACI_CSNS_MOD  *mode);
    T_ACI_RETURN (*sAT_PercentMMCR  )( T_ACI_CMD_SRC    srcId,
                                   T_ACI_MMCR   response);
    T_ACI_RETURN (*qAT_PercentMMCR  )( T_ACI_CMD_SRC    srcId,
                                   T_ACI_MMCR  *response);
    void (*query_CPI_MuMe)       ( SHORT       ctbIdx,
                                   T_ACI_CLCC_CALDESC *calLst,
                                   T_ACI_CPI_CM *callmode);
#endif /* TI_UMTS && TI_PS_3GPP_R5 */
    T_ACI_RETURN (*sAT_PlusWS46)(T_ACI_CMD_SRC    srcId,
                                T_ACI_WS46_MOD   mode );
    T_ACI_RETURN (*qAT_PlusWS46)(T_ACI_CMD_SRC    srcId,
                                T_ACI_WS46_MOD  *mode );
    T_ACI_RETURN (*sAT_AndF      )( T_ACI_CMD_SRC srcId,
                                SHORT         value);
    T_ACI_RETURN (*sAT_AndC      )( T_ACI_CMD_SRC srcId,
                                T_ACI_DCD_MOD value);
    T_ACI_RETURN (*qAT_AndC      )( T_ACI_CMD_SRC srcId,
                                T_ACI_DCD_MOD *value);
    T_ACI_RETURN (*sAT_Z         )( T_ACI_CMD_SRC srcId,
                                SHORT         value);
    T_ACI_RETURN (*qAT_PlusCNUM  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CNUM_MOD mode );

#if defined(TI_PS_3GPP_R5) || defined(TI_PS_FF_CSRM_R5)
    T_ACI_RETURN (*sAT_PlusCRSM  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CRSM_CMD cmd,
                                SHORT          fileId,
                                SHORT          p1,
                                SHORT          p2,
                                SHORT          p3,
                                SHORT          dataLen,
                                UBYTE         *data,
                                LONG           pathId);
#else
    T_ACI_RETURN (*sAT_PlusCRSM  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CRSM_CMD cmd,
                                SHORT          fileId,
                                SHORT          p1,
                                SHORT          p2,
                                SHORT          p3,
                                SHORT          dataLen,
                                UBYTE         *data);

#endif /*TI_PS_3GPP_R5 || TI_PS_FF_CSRM_R5*/
    T_ACI_RETURN (*sAT_PlusCSIM  )( T_ACI_CMD_SRC  srcId,
                                USHORT         dataLen,
                                UBYTE         *data    );

    T_ACI_RETURN (*qAT_PercentATR)( T_ACI_CMD_SRC  srcId,
                                UBYTE         *phase,
                                UBYTE         *atr_len,
                                UBYTE         *atr_info);
    T_ACI_RETURN (*sAT_PlusCMUX )( T_ACI_CMD_SRC srcId,
                               UBYTE mode,
                               UBYTE subset,
                               UBYTE port_speed,
                               USHORT N1,
                               UBYTE T1,
                               UBYTE N2,
                               UBYTE T2,
                               UBYTE T3,
                               UBYTE k);
    T_ACI_RETURN (*qAT_PlusCMUX )( T_ACI_CMD_SRC srcId,
                               UBYTE *mode,
                               UBYTE *subset,
                               UBYTE *port_speed,
                               USHORT *N1,
                               UBYTE *T1,
                               UBYTE *N2,
                               UBYTE *T2,
                               UBYTE *T3,
                               UBYTE *k);
    T_ACI_RETURN (*qAT_PercentCAL)( T_ACI_CMD_SRC    srcId,
                                T_ACI_CAL_ENTR  *callTable );
    T_ACI_RETURN (*sAT_PercentNRG)( T_ACI_CMD_SRC   srcId,
                                T_ACI_NRG_RGMD  regMode,
                                T_ACI_NRG_SVMD  srvMode,
                                T_ACI_NRG_FRMT  oprFrmt,
                                CHAR           *opr );
    T_ACI_RETURN (*qAT_PercentNRG)( T_ACI_CMD_SRC   srcId,
                                T_ACI_NRG_RGMD *regMode,
                                T_ACI_NRG_SVMD *srvMode,
                                T_ACI_NRG_FRMT *oprFrmt,
                                T_ACI_NRG_SVMD *srvStat,
                                CHAR           *oper);
    T_ACI_RETURN (*tAT_PercentNRG)( T_ACI_CMD_SRC srcId,
                                T_ACI_NRG *NRG_options );
/*Added by Shen,Chao for PercentCSQ*/
    T_ACI_RETURN (*sAT_PercentCSQ)( T_ACI_CMD_SRC   srcId,
                                T_ACI_CSQ_MODE CSQmode);


#ifdef TI_UMTS
    T_ACI_RETURN (*qAT_PercentCSQ)( T_ACI_CMD_SRC  srcId,
                                UBYTE *rssi,
                                UBYTE *ber,
                                UBYTE *actrssilevel,
                                UBYTE *rscp,
                                UBYTE *actrscplevel);
#else
    T_ACI_RETURN (*qAT_PercentCSQ)( T_ACI_CMD_SRC   srcId,
                                UBYTE *rssi,
                                UBYTE *ber,
                                UBYTE *actrssilevel);
#endif /*TI_UMTS*/


#ifdef TI_UMTS
    T_ACI_RETURN (*sAT_PercentBAND)(T_ACI_CMD_SRC   srcId,
                                T_ACI_BAND_MODE bandMode,
                                UBYTE           bandType,
                                USHORT          umts_bandType);
    T_ACI_RETURN (*qAT_PercentBAND)(T_ACI_CMD_SRC   srcId,
                                T_ACI_BAND_MODE *bandMode,
                                UBYTE           *bandType,
                                USHORT           *umts_bandType);
    T_ACI_RETURN (*tAT_PercentBAND)(T_ACI_CMD_SRC   srcId,
                                T_ACI_BAND_MODE *MaxBandMode,
                                UBYTE           *AllowedBands,
                                USHORT           *AlloweUMTSdBands);
#else
    T_ACI_RETURN (*sAT_PercentBAND)(T_ACI_CMD_SRC   srcId,
                                T_ACI_BAND_MODE bandMode,
                                UBYTE           bandType);
    T_ACI_RETURN (*qAT_PercentBAND)(T_ACI_CMD_SRC   srcId,
                                T_ACI_BAND_MODE *bandMode,
                                UBYTE           *bandType);
    T_ACI_RETURN (*tAT_PercentBAND)(T_ACI_CMD_SRC   srcId,
                                T_ACI_BAND_MODE *MaxBandMode,
                                UBYTE           *AllowedBands);
#endif /* !TI_UMTS */

    T_ACI_RETURN (*qAT_PercentCOLR)( T_ACI_CMD_SRC srcId );
    T_ACI_RETURN (*sAT_PercentPVRF)( T_ACI_CMD_SRC   srcId,
                                 T_ACI_PVRF_TYPE type,
                                 CHAR * pin,
                                 CHAR * newpin );
    T_ACI_RETURN (*qAT_PercentPVRF)( T_ACI_CMD_SRC srcId,
                                 SHORT        *pn1Cnt,
                                 SHORT        *pn2Cnt,
                                 SHORT        *pk1Cnt,
                                 SHORT        *pk2Cnt,
                                 T_ACI_PVRF_STAT *ps1,
                                 T_ACI_PVRF_STAT *ps2 );
#ifdef TI_UMTS
    T_ACI_RETURN (*sAT_PercentCSPKR)( T_ACI_CMD_SRC  srcId,
                                  UBYTE          keyRef1,
                                  UBYTE          keyRef2 );
    T_ACI_RETURN (*qAT_PercentCSPKR)( T_ACI_CMD_SRC  srcId,
                                  UBYTE         *keyRef1,
                                  UBYTE         *keyRef2,
								  UBYTE         *keyRefUsed );
    T_ACI_RETURN (*tAT_PercentCSPKR)( T_ACI_CMD_SRC  srcId,
                                  UBYTE         keyRef1,
                                  UBYTE         keyRef2,
                                  UBYTE         keyRefUsed );
#endif /*TI_UMTS*/

#ifdef TI_UMTS
    T_ACI_RETURN (*sAT_PercentSATC)( T_ACI_CMD_SRC  srcId,
                                 SHORT          len,
                                 UBYTE        * satCnfg,
                                 SHORT          ulen,
                                 UBYTE        * usatCnfg );

    T_ACI_RETURN (*qAT_PercentSATC)( T_ACI_CMD_SRC  srcId,
                                 SHORT        * len,
                                 UBYTE        * satCnfg,
                                 SHORT        * ulen,
                                 UBYTE        * usatCnfg );
#else
    T_ACI_RETURN (*sAT_PercentSATC)( T_ACI_CMD_SRC  srcId,
                                 SHORT          len,
                                 UBYTE        * satCnfg );

    T_ACI_RETURN (*qAT_PercentSATC)( T_ACI_CMD_SRC  srcId,
                                 SHORT        * len,
                                 UBYTE        * satCnfg );
#endif /* TI_UMTS */

    T_ACI_RETURN (*sAT_PercentSATR)( T_ACI_CMD_SRC  srcId,
                                 SHORT          len,
                                 UBYTE        * satCmd );
    T_ACI_RETURN (*sAT_PercentSATE)( T_ACI_CMD_SRC  srcId,
                                 SHORT          len,
                                 UBYTE        * satCmd );
    T_ACI_RETURN (*sAT_PercentSATT)( T_ACI_CMD_SRC  srcId,
                                 T_ACI_SATT_CS  cause);
    T_ACI_RETURN (*sAT_PercentSIMEF)( T_ACI_CMD_SRC srcId,
                                  T_ACI_SIMEF_MODE mode);
    T_ACI_RETURN (*qAT_PercentSIMEF)( T_ACI_CMD_SRC srcId,
                                  T_ACI_SIMEF_MODE *mode);
    T_ACI_RETURN (*sAT_PercentEFRSLT)(T_ACI_CMD_SRC srcId,
                                   T_ACI_EFRSLT_RES result);
    T_ACI_RETURN (*sAT_PercentPBCF)( T_ACI_CMD_SRC srcId,
                                 T_ACI_PBCF_LDN ldn,
                                 T_ACI_PBCF_LRN lrn,
                                 T_ACI_PBCF_LMN lmn );
    T_ACI_RETURN (*qAT_PercentPBCF)( T_ACI_CMD_SRC srcId,
                                 T_ACI_PBCF_LDN *ldn,
                                 T_ACI_PBCF_LRN *lrn,
                                 T_ACI_PBCF_LMN *lmn );
    T_ACI_RETURN (*qAT_PercentCTV )( T_ACI_CMD_SRC    srcId,
                                 LONG            *ctv);
    T_ACI_RETURN (*qAT_PercentCAOC)( T_ACI_CMD_SRC    srcId,
                                 CHAR            *cur,
                                 CHAR            *val);
    T_ACI_RETURN (*qAT_PercentCACM)( T_ACI_CMD_SRC    srcId,
                                 CHAR            *cur,
                                 CHAR            *val);
    T_ACI_RETURN (*qAT_PercentRPCT)( T_ACI_CMD_SRC    srcId,
                                 T_ACI_RPCT_VAL  *rpuct);
    T_ACI_RETURN (*sAT_PercentCCBS)( T_ACI_CMD_SRC    srcId,
                                 SHORT            idx  );
    T_ACI_RETURN (*qAT_PercentCCBS)( T_ACI_CMD_SRC    srcId);

    T_ACI_RETURN (*qAT_PercentCNAP)( T_ACI_CMD_SRC    srcId);

    T_ACI_RETURN (*sAT_PercentRDL)(T_ACI_CMD_SRC srcId,
                                  T_ACI_CC_REDIAL_MODE redial_mode,
                                  T_ACI_CC_REDIAL_NOTIF notification);
    T_ACI_RETURN (*qAT_PercentRDL )( T_ACI_CMD_SRC srcId,
                                    T_ACI_CC_REDIAL_MODE* redial_mode,
                                    T_ACI_CC_REDIAL_NOTIF* notification);
    T_ACI_RETURN (*sAT_PercentRDLB)(T_ACI_CMD_SRC srcId,
                                    T_ACI_CC_REDIAL_BLMODE blacklist_mode,
                                    T_ACI_CC_REDIAL_NOTIF notification);
    T_ACI_RETURN (*qAT_PercentRDLB )( T_ACI_CMD_SRC srcId,
                                      T_ACI_CC_REDIAL_BLACKL *blackl,
                                      T_ACI_CC_REDIAL_NOTIF* notification);
    T_ACI_RETURN (*qAT_PercentCSSD  )( T_ACI_CMD_SRC    srcId,
                                   UBYTE           *ss_diag);
    T_ACI_RETURN (*sAT_PercentCUST)( T_ACI_CMD_SRC srcId,
                                 T_CUST_MOD customisation_mode);
    T_ACI_RETURN (*qAT_PercentCUST)( T_ACI_CMD_SRC srcId,
                                 T_CUST_MOD *customisation_mode);
    T_ACI_RETURN (*sAT_PercentSATCC)( T_ACI_CMD_SRC srcId,
                                  T_SAT_CC_MOD sat_cc_mode);
    T_ACI_RETURN (*qAT_PercentSATCC)( T_ACI_CMD_SRC srcId,
                                  T_SAT_CC_MOD *sat_cc_mode);
    // ( void rdlPrm_init(void);
    // ( void rdlPrm_exit(void);

#if defined(TI_PS_FF_TCPIP) || defined (TI_PS_FF_SATE)
    T_ACI_RETURN (*sAT_PercentPPP )( T_ACI_CMD_SRC srcId,
                                 T_ACI_PPP_PROT protocol,
                                 CHAR *login_name,
                                 CHAR *pwd,
                                 T_ACI_PPP_CON  con_type);
    T_ACI_RETURN (*qAT_PercentPPP)( UBYTE srcId,  ULONG *ipaddr,
                                 ULONG *dns1, ULONG * ns2) ;
#endif /* defined(TI_PS_FF_TCPIP) || defined (TI_PS_FF_SATE) */

/*----------- SMS prototypes -----------------------------------------*/

    T_ACI_RETURN (*sAT_PlusCRES  )( T_ACI_CMD_SRC  srcId,
                                SHORT          profile );
    T_ACI_RETURN (*tAT_PlusCRES  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CRES      *values );
    T_ACI_RETURN (*sAT_PlusCSAS  )( T_ACI_CMD_SRC  srcId,
                                SHORT          profile );
    T_ACI_RETURN (*sAT_PlusCMGW_Old  )( T_ACI_CMD_SRC    srcId,
                                SHORT            index,
                                CHAR            *address,
                                T_ACI_TOA       *toa,
                                T_ACI_SMS_STAT   stat,
                                UBYTE            msg_ref,
                                T_ACI_SM_DATA   *data,
                                CHAR            *sca,
                                T_ACI_TOA       *tosca,
                                SHORT            isReply);
    T_ACI_RETURN (*sAT_PlusCSMP  )( T_ACI_CMD_SRC    srcId,
                                SHORT            fo,
                                SHORT            vprel,
                                T_ACI_VP_ABS    *vpabs,
                                T_ACI_VP_ENH    *vpenh,
                                SHORT            pid,
                                SHORT            dcs );
    T_ACI_RETURN (*qAT_PlusCSMP  )( T_ACI_CMD_SRC    srcId,
                                SHORT           *fo,
                                SHORT           *vprel,
                                T_ACI_VP_ABS    *vpabs,
                                T_ACI_VP_ENH    *vpenh,
                                SHORT           *pid,
                                SHORT           *dcs );
    T_ACI_RETURN (*sAT_PlusCSCA  )( T_ACI_CMD_SRC    srcId,
                                CHAR            *sca,
                                T_ACI_TOA       *tosca );
    T_ACI_RETURN (*qAT_PlusCSCA  )( T_ACI_CMD_SRC    srcId,
                                CHAR            *sca,
                                T_ACI_TOA       *tosca );
    T_ACI_RETURN (*sAT_PlusCSMS  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CSMS_SERV  service);
    T_ACI_RETURN (*qAT_PlusCSMS  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_CSMS_SERV *service,
                                T_ACI_CSMS_SUPP *mt,
                                T_ACI_CSMS_SUPP *mo,
                                T_ACI_CSMS_SUPP *bm);
    T_ACI_RETURN (*sAT_PlusCPMS  )( T_ACI_CMD_SRC    srcId,
                                T_ACI_SMS_STOR   mem1,
                                T_ACI_SMS_STOR   mem2,
                                T_ACI_SMS_STOR   mem3);
    T_ACI_RETURN (*qAT_PlusCPMS  )( T_ACI_CMD_SRC    srcId);
    T_ACI_RETURN (*sAT_PlusCMGF  )( T_ACI_CMD_SRC     srcId,
                                T_ACI_CMGF_MOD    mode);
    T_ACI_RETURN (*qAT_PlusCMGF  )( T_ACI_CMD_SRC     srcId,
                                T_ACI_CMGF_MOD  * mode);
    T_ACI_RETURN (*sAT_PlusCSCB  )( T_ACI_CMD_SRC     srcId,
                                T_ACI_CSCB_MOD    mode,
                                USHORT          * mids,
                                UBYTE           * dcss);
    T_ACI_RETURN (*qAT_PlusCSCB  )( T_ACI_CMD_SRC   srcId,
                                T_ACI_CSCB_MOD  * mode,
                                UBYTE           * c_mids,
                                USHORT          * mids,
                                UBYTE           * c_dcss,
                                UBYTE           * dcss);
#ifdef FF_HOMEZONE
    T_ACI_RETURN (*sAT_PercentCBHZ )( T_ACI_CMD_SRC  srcId,
                                  T_ACI_CBHZ_MOD mode,
                                  T_ACI_CS       dcs,
                                  UBYTE          timeout);
    T_ACI_RETURN (*qAT_PercentCBHZ )( T_ACI_CMD_SRC   srcId,
                                  T_ACI_CBHZ_MOD* mode,
                                  T_ACI_CS*       dcs,
                                  UBYTE*          timeout);
#endif /* FF_HOMEZONE */

    T_ACI_RETURN (*sAT_PlusCMGS_Old  )( T_ACI_CMD_SRC     srcId,
                                CHAR            * da,
                                T_ACI_TOA       * toda,
                                T_ACI_SM_DATA   * data,
                                CHAR            * sca,
                                T_ACI_TOA       * tosca,
                                SHORT             isReply);
    T_ACI_RETURN (*sAT_PlusCNMI  )( T_ACI_CMD_SRC     srcId,
                                T_ACI_CNMI_MT     mt,
                                T_ACI_CNMI_BM     bm,
                                T_ACI_CNMI_DS     ds);
    T_ACI_RETURN (*qAT_PlusCNMI  )( T_ACI_CMD_SRC     srcId,
                                T_ACI_CNMI_MT   * mt,
                                T_ACI_CNMI_BM   * bm,
                                T_ACI_CNMI_DS   * ds);
    T_ACI_RETURN (*sAT_PlusCMGL  )( T_ACI_CMD_SRC     srcId,
                                T_ACI_SMS_STAT    state,
                                SHORT             startIdx,
                                T_ACI_SMS_READ    rdMode );
    T_ACI_RETURN (*sAT_PlusCNMA  )( T_ACI_CMD_SRC     srcId);

    T_ACI_RETURN (*sAT_PercentCMGRS)( T_ACI_CMD_SRC    srcId,
                                  T_ACI_CMGRS_MODE mode );
    T_ACI_RETURN (*qAT_PercentCMGRS)( T_ACI_CMD_SRC    srcId,
                                  UBYTE*           auto_rep_flag );

    T_ACI_RETURN (*sAT_PercentCPRSM )( T_ACI_CMD_SRC  srcId,
                                   T_ACI_CPRSM_MOD mode);

    T_ACI_RETURN (*qAT_PercentCPRSM )( T_ACI_CMD_SRC  srcId );

/*----------- New SMS prototypes for concatenated SMS --------------------*/

    T_ACI_RETURN (*sAT_PlusCMSS      )( T_ACI_CMD_SRC   srcId,
                                    UBYTE           index,
                                    CHAR*           da,
                                    T_ACI_TOA*      toda );
    T_ACI_RETURN (*sAT_PlusCMSS_Gl   )( T_ACI_CMD_SRC   srcId,
                                    UBYTE           index,
                                    CHAR*           da,
                                    T_ACI_TOA*      toda,
                                    T_CMSS_FCT      rplyCB,
                                    T_ERROR_FCT     errorCB );

#if (defined MFW OR defined _CONC_TESTING_ OR defined(ELASTOS))
    T_ACI_RETURN (*sAT_PlusCMGS      )( T_ACI_CMD_SRC   srcId,
                                    CHAR*           da,
                                    T_ACI_TOA*      toda,
                                    T_SM_DATA_EXT*  src_data,
                                    CHAR*           sca,
                                    T_ACI_TOA*      tosca,
                                    SHORT           isReply );
#else
    T_ACI_RETURN (*sAT_PlusCMGS      )( T_ACI_CMD_SRC   srcId,
                                    CHAR*           da,
                                    T_ACI_TOA*      toda,
                                    T_ACI_SM_DATA*  src_data,
                                    CHAR*           sca,
                                    T_ACI_TOA*      tosca,
                                    SHORT           isReply );
#endif
    // Undefined symbol sAT_PercentCMGS (referred from tapi_cmd.o).
    /*
    T_ACI_RETURN (*sAT_PercentCMGS )( T_ACI_CMD_SRC  srcId,
                               CHAR*          da,
                               T_ACI_TOA*     toda,
                               T_ACI_SM_DATA* src_data,
                               T_ACI_UDH_DATA* udh_data,
                               CHAR*          sca,
                               T_ACI_TOA*     tosca,
                               SHORT          isReply );
    */
    T_ACI_RETURN (*sAT_PlusCMGS_Gl   )( T_ACI_CMD_SRC   srcId,
                                    CHAR*           da,
                                    T_ACI_TOA*      toda,
                                    T_ACI_SM_DATA*  data,
                                    T_ACI_UDH_DATA* udh,
                                    CHAR*           sca,
                                    T_ACI_TOA*      tosca,
                                    SHORT           isReply,
                                    T_CMGS_FCT      rplyCB,
                                    T_ERROR_FCT     errorCB );
    T_ACI_RETURN (*sAT_PlusCMGR      )( T_ACI_CMD_SRC   srcId,
                                    UBYTE           index,
                                    T_ACI_SMS_READ  rdMode );
    T_ACI_RETURN (*sAT_PlusCMGR_Gl   )( T_ACI_CMD_SRC   srcId,
                                    UBYTE           index,
                                    T_ACI_SMS_READ  rdMode,
                                    T_CMGR_FCT      rplyCB );

#if (defined MFW OR defined _CONC_TESTING_ OR defined(ELASTOS))
    T_ACI_RETURN (*sAT_PlusCMGW      )( T_ACI_CMD_SRC   srcId,
                                    SHORT           index,
                                    CHAR*           address,
                                    T_ACI_TOA*      toa,
                                    T_ACI_SMS_STAT  stat,
                                    UBYTE           msg_ref,
                                    T_SM_DATA_EXT*  src_data,
                                    CHAR*           sca,
                                    T_ACI_TOA*      tosca,
                                    SHORT           isReply );
#else
    T_ACI_RETURN (*sAT_PlusCMGW      )( T_ACI_CMD_SRC   srcId,
                                    SHORT           index,
                                    CHAR*           address,
                                    T_ACI_TOA*      toa,
                                    T_ACI_SMS_STAT  stat,
                                    UBYTE           msg_ref,
                                    T_ACI_SM_DATA*  src_data,
                                    CHAR*           sca,
                                    T_ACI_TOA*      tosca,
                                    SHORT           isReply );
#endif
    /* Undefined symbol sAT_PercentCMGW (referred from tapi_cmd.o).
    T_ACI_RETURN (*sAT_PercentCMGW )( T_ACI_CMD_SRC  srcId,
                               SHORT          index,
                               CHAR*          address,
                               T_ACI_TOA*     toa,
                               T_ACI_SMS_STAT stat,
                               UBYTE          msg_ref,
                               T_ACI_SM_DATA* src_data,
                               T_ACI_UDH_DATA* udh_data,
                               CHAR*          sca,
                               T_ACI_TOA*     tosca,
                               SHORT          isReply );
    */

    T_ACI_RETURN (*sAT_PlusCMGW_Gl   )( T_ACI_CMD_SRC   srcId,
                                    SHORT           index,
                                    CHAR*           address,
                                    T_ACI_TOA*      toa,
                                    T_ACI_SMS_STAT  stat,
                                    UBYTE           msg_ref,
                                    T_ACI_SM_DATA*  data,
                                    T_ACI_UDH_DATA* udh,
                                    CHAR*           sca,
                                    T_ACI_TOA*      tosca,
                                    SHORT           isReply,
                                    T_CMGW_FCT      rplyCB,
                                    T_ERROR_FCT     errorCB );
    T_ACI_RETURN (*sAT_PlusCMGD      )( T_ACI_CMD_SRC   srcId,
                                    UBYTE           index,
                                    UBYTE           status );

    T_ACI_RETURN (*sAT_PlusCMGD_Gl   )( T_ACI_CMD_SRC   srcId,
                                    UBYTE           index,
                                    UBYTE           status,
                                    T_CMGD_FCT      rplyCB,
                                    T_ERROR_FCT     errorCB );
    T_ACI_RETURN (*sAT_PlusCMGC      )( T_ACI_CMD_SRC   srcId,
                                    SHORT           fo,
                                    SHORT           ct,
                                    SHORT           pid,
                                    SHORT           mn,
                                    CHAR*           da,
                                    T_ACI_TOA*      toda,
                                    T_ACI_CMD_DATA* data );
    T_ACI_RETURN (*sAT_PlusCMGC_Gl   )( T_ACI_CMD_SRC   srcId,
                                    SHORT           fo,
                                    SHORT           ct,
                                    SHORT           pid,
                                    SHORT           mn,
                                    CHAR*           da,
                                    T_ACI_TOA*      toda,
                                    T_ACI_CMD_DATA* data,
                                    T_CMGC_FCT      rplyCB );

#if defined (SMS_PDU_SUPPORT)

/*
( void rCI_Plus_Percent_CMGLPdu       ( T_MNSMS_READ_CNF *mnsms_read_cnf,
                                         T_ACI_AT_CMD cmd);
( void rCI_Plus_Percent_CMGRPdu       ( T_MNSMS_READ_CNF* mnsms_read_cnf,
                                         T_ACI_AT_CMD cmd);

( void rCI_PlusCMTPdu        ( T_MNSMS_MESSAGE_IND * mnsms_message_ind );

( void rCI_PlusCBMPdu        ( T_ACI_CBM_DATA  * mmi_cbch_ind );
( void rCI_PlusCDSPdu        ( T_MNSMS_STATUS_IND * mnsms_status_ind );
( void rCI_PlusCMGSPdu       ( T_MNSMS_SUBMIT_CNF * mnsms_submit_cnf);
( void rCI_PlusCMSSPdu       ( T_MNSMS_SUBMIT_CNF * mnsms_submit_cnf);
( void rCI_PlusCMGCPdu       ( T_MNSMS_COMMAND_CNF * mnsms_command_cnf);
( void rCI_PercentCMGRSPdu   ( UBYTE mode,
                                T_MNSMS_RETRANS_CNF * mnsms_retrans_cnf,
                                T_MNSMS_SEND_PROG_IND * mnsms_send_prog_ind );
*/

GLOBAL T_ACI_RETURN (*sAT_PlusCMGWPdu )( T_ACI_CMD_SRC  srcId,
                                  UBYTE          stat,
                                  T_ACI_SM_DATA  *pdu);
#endif

#if defined (SMS_PDU_SUPPORT) || defined (SIM_TOOLKIT)
    T_ACI_RETURN (*sAT_PlusCMGSPdu )( T_ACI_CMD_SRC  srcId,
                                  T_ACI_SM_DATA  *pdu );
    T_ACI_RETURN (*sAT_PlusCMGCPdu )( T_ACI_CMD_SRC   srcId,
                                  T_ACI_SM_DATA   *pdu );
    T_ACI_RETURN (*sAT_PlusCNMAPdu )( T_ACI_CMD_SRC srcId,
                                  SHORT         n,
                                  T_ACI_SM_DATA *pdu
#ifdef TI_PS_FF_TRANSPARENT_SMS
                                  ,T_ACI_CNMA_ERR_CAUSE error_cause
#endif /*TI_PS_FF_TRANSPARENT_SMS*/
                                  );

#endif /* end for SMS_PDU_SUPPORT || SIM_TOOLKIT */

/*----------- Phonebook managment prototypes -----------------------------------------*/

    T_ACI_RETURN (*sAT_PlusCPBS )( T_ACI_CMD_SRC srcId,
                               T_ACI_PB_STOR mem,
                               char*        pin2  );
    T_ACI_RETURN (*qAT_PlusCPBS )( T_ACI_CMD_SRC  srcId,
                               T_ACI_PB_STOR* storage,
                               SHORT*         used,
                               SHORT*         total );
    T_ACI_RETURN (*sAT_PlusCPBW )( T_ACI_CMD_SRC  srcId,
                               SHORT          index,
                               CHAR          * number,
                               T_ACI_TOA     * type,
                               T_ACI_PB_TEXT * text,
                               T_ACI_VP_ABS  * dateTime );
    T_ACI_RETURN (*tAT_PlusCPBW )( T_ACI_CMD_SRC srcId,
                               SHORT*        firstIdx,
                               SHORT*        lastIdx,
                               UBYTE*        nlength,
                               UBYTE*        tlength );
    T_ACI_RETURN (*sAT_PlusCPBR )( T_ACI_CMD_SRC  srcId,
                               SHORT          startIdx,
                               SHORT          stopIdx,
                               SHORT*         lastIdx,
                               T_ACI_PB_ENTR* pbLst);
/**
* sAT_PercentCPBR.
*
* @param  srcId          Parameter 1.
* @param  startIdx       Parameter 2.
* @param  stopIdx        Parameter 3.
* @param  searchMode        Parameter 4.
* @param  lastIdx        Parameter 5.
* @param  pbLst          Parameter 6.
* @return Type T_ACI_RETURN.

**************************************************
Added by Shen,Chao March.18th.2003
**************************************************
*/

    T_ACI_RETURN (*sAT_PercentCPBR )( T_ACI_CMD_SRC srcId,
                            SHORT startIdx,
                            SHORT stopIdx,
                            T_ACI_SR_TYP searchMode,
                            SHORT* lastIdx,
                            T_ACI_PB_ENTR* pbLst );

    T_ACI_RETURN (*tAT_PlusCPBR )( T_ACI_CMD_SRC srcId,
                               SHORT*        firstIdx,
                               SHORT*        lastIdx,
                               UBYTE*        nlength,
                               UBYTE*        tlength );
#ifdef NO_ASCIIZ
    T_ACI_RETURN (*sAT_PlusCPBF )( T_ACI_CMD_SRC  srcId,
                               T_ACI_PB_TEXT  *findtext,
                               T_ACI_CPBF_MOD mode,
                               SHORT          *found,
                               T_ACI_PB_ENTR  *pbLst );
#else  /* ifdef NO_ASCIIZ */
    T_ACI_RETURN (*sAT_PlusCPBF )( T_ACI_CMD_SRC  srcId,
                               CHAR           *findtext,
                               T_ACI_CPBF_MOD mode,
                               SHORT          *found,
                               T_ACI_PB_ENTR  *pbLst );
#endif /* ifdef NO_ASCIIZ */
    T_ACI_RETURN (*tAT_PlusCPBF )( T_ACI_CMD_SRC srcId,
                               UBYTE*        nlength,
                               UBYTE*        tlength );

/*----------- Engineering mode prototypes -----------------------------------------*/
/*
    T_ACI_RETURN (*sAT_PlusCLAE  )( T_ACI_CMD_SRC srcId,
              T_ACI_CLAE_MOD mode );
    T_ACI_RETURN (*qAT_PlusCLAE  )( T_ACI_CMD_SRC srcId,
              T_ACI_CLAE_MOD * mode);
*/
#ifdef TI_PS_FF_EM
    T_ACI_RETURN (*sAT_PercentEINFO)(T_ACI_CMD_SRC  srcId, U8 timer);
    T_ACI_RETURN (*sAT_PercentESINFO)(T_ACI_CMD_SRC  srcId, U8 timer);
#endif /* TI_PS_FF_EM */


    T_ACI_RETURN (*sAT_PlusCSVM  )( T_ACI_CMD_SRC  srcId,
                                T_ACI_CSVM_MOD mode,
                                CHAR          *pnumber,
                                UBYTE          num_len,
                                T_ACI_TOA     *toa);

    T_ACI_RETURN (*qAT_PlusCSVM )( T_ACI_CMD_SRC srcId,
                               T_ACI_CSVM_MOD* mode,
                               CHAR          *number,
                               UBYTE          num_len,
                               SHORT         *toa_val);

    T_ACI_RETURN (*sAT_PlusCLAN )( T_ACI_CMD_SRC  srcId,
                               T_ACI_LAN_SUP  *lngCode);

    T_ACI_RETURN (*qAT_PlusCLAN )( T_ACI_CMD_SRC  srcId,
                               T_ACI_LAN_SUP* lngCode );

    T_ACI_RETURN (*tAT_PlusCLAN) (T_ACI_CMD_SRC    srcId,
                               SHORT            *lastIdx,
                               T_ACI_LAN_SUP    *lanlst);

    T_ACI_RETURN (*sAT_PercentCPRI)( T_ACI_CMD_SRC srcId,
                                 UBYTE mode );

    T_ACI_RETURN (*qAT_PercentCPRI)( T_ACI_CMD_SRC srcId,
                                 UBYTE *mode );

    // Undefined symbol qAT_PercentRAT (referred from tapi_cmd.o).
    // Undefined symbol sAT_PercentRAT (referred from tapi_cmd.o).
    /*T_ACI_RETURN (*sAT_PercentRAT )( T_ACI_CMD_SRC srcId,
                                 U8            band_select,
                                 U8            default_pref_rat,
                                 U8            current_rat_info );

    T_ACI_RETURN (*qAT_PercentRAT )( T_ACI_CMD_SRC srcId,
                                 U8            *band_select,
                                 U8            *default_pref_rat,
                                 U8            *current_rat_info );
    */

/* DTI managment */
    T_ACI_RETURN (*sAT_PercentDATA) (T_ACI_CMD_SRC  srcId,
                                 UBYTE          redir_mode,
                                 CHAR          *des_devname,
                                 UBYTE          des_devno,
                                 UBYTE          des_subno,
                                 CHAR          *dev_cap,
                                 CHAR          *src_devname,
                                 UBYTE          src_devno,
                                 UBYTE          src_subno,
                                 UBYTE          pdp_cid);

    T_ACI_RETURN (*qAT_PercentDATA) (T_ACI_CMD_SRC  srcId,
                                 UBYTE         *mode,
                                 UBYTE         *cid,
                                 T_DINF_PARAM  *des_param,
                                 T_DINF_PARAM  *src_param);

    T_ACI_RETURN (*sAT_PercentDINF) (T_ACI_CMD_SRC  srcId,
                                 UBYTE          mode,
                                 T_DINF_PARAM  *device_param);

    T_ACI_RETURN (*sAT_PercentCHPL) (T_ACI_CMD_SRC   srcId,
                                 T_ACI_OPER_NTRY *oper);

    T_ACI_RETURN (*sAT_PlusCTZR )( T_ACI_CMD_SRC srcId,
                               T_ACI_CTZR_MODE mode);
    T_ACI_RETURN (*qAT_PlusCTZR )( T_ACI_CMD_SRC srcId,
                               T_ACI_CTZR_MODE *mode);
    T_ACI_RETURN (*sAT_PlusCTZU )( T_ACI_CMD_SRC srcId,
                               T_ACI_CTZU_MODE mode);

    T_ACI_RETURN (*sAT_PlusCCLK )( T_ACI_CMD_SRC srcId,
                               T_ACI_RTC_DATE *date,
                               T_ACI_RTC_TIME *time);
    T_ACI_RETURN (*qAT_PlusCCLK )( T_ACI_CMD_SRC srcId,
                               T_ACI_RTC_DATE *date_s,
                               T_ACI_RTC_TIME *time_s );

    T_ACI_RETURN (*sAT_PercentCTZV )( T_ACI_CMD_SRC srcId,
                               T_ACI_PCTZV_MODE mode);

    T_ACI_RETURN (*sAT_PercentCNIV )( T_ACI_CMD_SRC srcId,
                               T_ACI_CNIV_MODE mode);

    T_ACI_RETURN (*qAT_PlusCTZU )( T_ACI_CMD_SRC srcId,
                               T_ACI_CTZU_MODE *mode);

    T_ACI_RETURN (*qAT_PercentCTZV )( T_ACI_CMD_SRC srcId,
                               T_ACI_PCTZV_MODE *mode);

    T_ACI_RETURN (*qAT_PercentCNIV )( T_ACI_CMD_SRC srcId,
                               T_ACI_CNIV_MODE *mode);

    T_ACI_RETURN (*sAT_PercentCWUP )( T_ACI_CMD_SRC   srcId,
                                  T_ACI_CWUP_TYPE type);

    T_ACI_RETURN (*sAT_PercentCSCN )( T_ACI_CMD_SRC srcId,
                               T_ACI_SS_CSCN_MOD_STATE     ss_switch,
                               T_ACI_SS_CSCN_MOD_DIRECTION ss_direction,
                               T_ACI_CC_CSCN_MOD_STATE     cc_switch,
                               T_ACI_CC_CSCN_MOD_DIRECTION cc_direction );

    T_ACI_RETURN (*qAT_PercentCSCN )( T_ACI_CMD_SRC srcId,
                               T_ACI_SS_CSCN_MOD_STATE     *ss_switch,
                               T_ACI_SS_CSCN_MOD_DIRECTION *ss_direction,
                               T_ACI_CC_CSCN_MOD_STATE     *cc_switch,
                               T_ACI_CC_CSCN_MOD_DIRECTION *cc_direction );

#if defined FF_EOTD
    T_ACI_RETURN (*sAT_PlusCLSA )( T_ACI_CMD_SRC srcId,
                               CHAR*    mlcsc,
                               CHAR*    mlcda );

    T_ACI_RETURN (*qAT_PlusCLSA )( T_ACI_CMD_SRC srcId,
                               CHAR*    mlcsc,
                               CHAR*    mlcda);
#endif /* FF_EOTD */
#ifdef FF_EOTD
    T_ACI_RETURN (*sAT_PlusCLPS )( T_ACI_CMD_SRC srcId,
                               CHAR     clpsset,
                               CHAR*    lcclientId,
                               USHORT   cltimer);
    T_ACI_RETURN (*sAT_PlusCLSR )( T_ACI_CMD_SRC srcId,
                               CHAR      lcnotify,
                               CHAR      lcconfirm,
                               CHAR*    lcclientId);
    T_ACI_RETURN (*sAT_PlusCLOM )( T_ACI_CMD_SRC srcId,
                               CHAR     clomset,
                               CHAR*    lc_clientId );
    T_ACI_RETURN (*qAT_PlusCLOM )( T_ACI_CMD_SRC srcId,
                               UBYTE        * number_lc_clients,
                               T_LOC_SERV_PARA  ** client_list);
    T_ACI_RETURN (*qAT_PlusCLPS )( T_ACI_CMD_SRC srcId,
                               UBYTE        * number_lc_clients,
                               T_LOC_SERV_PARA  ** client_list);

#endif /* FF_EOTD */
    T_ACI_RETURN (*sAT_PlusCIND )( T_ACI_CMD_SRC  srcId,
                               T_ACI_CIND_SIGNAL_TYPE  sCindSgnalSettings,
                               T_ACI_CIND_SMSFULL_TYPE sCindSmsFullSettings );

    T_ACI_RETURN (*qAT_PlusCIND )( T_ACI_CMD_SRC  srcId,
                               T_ACI_CIND_SIGNAL_TYPE  *sCindSgnalSettings,
                               T_ACI_CIND_SMSFULL_TYPE *sCindSmsFullSettings );

    T_ACI_RETURN (*sAT_PlusCMER )( T_ACI_CMD_SRC  srcId,
                               T_ACI_CMER_MODE_TYPE sCmerModeSettings,
                               T_ACI_CMER_KEYP_TYPE sCmerKeypSettings,
                               T_ACI_CMER_IND_TYPE sCmerIndicationSettings,
                               T_ACI_CMER_BFR_TYPE sCmerBfrSettings );

    T_ACI_RETURN (*qAT_PlusCMER )( T_ACI_CMD_SRC srcId,
                               T_ACI_CMER_MODE_TYPE *sCmerModeSettings,
                               T_ACI_CMER_KEYP_TYPE *sCmerKeypSettings,
                               T_ACI_CMER_IND_TYPE  *sCmerIndicationSettings,
                               T_ACI_CMER_BFR_TYPE  *sCmerBfrSettings );

    T_ACI_RETURN (*sAT_PlusCKPD)( CHAR *keys,
                               SHORT time,
                               SHORT pause);

    T_ACI_RETURN (*sAT_PercentCPKY)( UBYTE srcId,
                                  T_ACI_CPKY_MOD mode);

    T_ACI_RETURN (*sAT_PercentCKWP )( T_ACI_CMD_SRC srcId,
                                  UBYTE         keySrc,
                                  SHORT         key,
                                  UBYTE         press);

    T_ACI_RETURN (*sAT_PlusCLVL)(T_ACI_CMD_SRC srcId, U8 vol);
    T_ACI_RETURN (*qAT_PlusCLVL)(T_ACI_CMD_SRC srcId, U8 *vol);

    T_ACI_RETURN (*sAT_PlusCMUT)(T_ACI_CMD_SRC srcId, U8 mute);
    T_ACI_RETURN (*qAT_PlusCMUT)(T_ACI_CMD_SRC srcId, U8 *vol);

    T_ACI_RETURN (*sAT_PlusCRSL)(T_ACI_CMD_SRC srcId, U8 vol);
    T_ACI_RETURN (*qAT_PlusCRSL)(T_ACI_CMD_SRC srcId, U8 *vol);

    T_ACI_RETURN (*qAT_PercentSLEEP)( T_ACI_CMD_SRC     srcId,
                                  T_ACI_SLEEP_MODE  *mode);
    T_ACI_RETURN (*sAT_PercentSLEEP)( T_ACI_CMD_SRC     srcId,
                                  T_ACI_SLEEP_MODE  mode);

    T_ACI_RETURN (*sAT_PercentCMGL  )( T_ACI_CMD_SRC     srcId,
                                   T_ACI_SMS_STAT    state,
                                   T_ACI_SMS_READ    rdMode );

    T_ACI_RETURN (*sAT_PercentCMGR_Gl)( T_ACI_CMD_SRC   srcId,
                                        UBYTE           index,
                                        T_ACI_SMS_READ  rdMode,
                                        T_CMGR_FCT      rplyCB );

    T_ACI_RETURN (*sAT_PercentCMGR  )( T_ACI_CMD_SRC   srcId,
                                       UBYTE           index,
                                       T_ACI_SMS_READ  rdMode );

/*
* for dynamical setting of additional ECC numbers by external applications
* (currently only by third party over BAT)
*/
// ( void  cmhCC_additional_ecc_numbers_initialize(void);
// ( BOOL  cmhCC_additional_ecc_numbers_initialized(void);
// ( BOOL  cmhCC_additional_ecc_number_set(char *ecc_number, T_ADDITIONAL_ECC_NUMBER index);

#ifdef TI_PS_FF_UMA
    T_ACI_RETURN (*sAT_PercentSUMAMOD )( T_ACI_CMD_SRC   srcId,
                                          U8  umaMode );  /*umaMode will be set to aci_uma_config_option */
    T_ACI_RETURN (*qAT_PercentSUMAMOD )( T_ACI_CMD_SRC srcId,
                                     T_PS_uma_mode * umaMode );      /* Current aci_uma_config_option will be assigned to umaMode */
#endif /* TI_PS_FF_UMA */

    // GPRS commands
/***  set commands  ***/
     T_ACI_RETURN (*sAT_PercentCGPCO) ( T_ACI_CMD_SRC srcId, U8 cid, USHORT protocol, CHAR *user, CHAR *pwd, CHAR *dns1, CHAR *dns2);
     T_ACI_RETURN (*sAT_PlusCGDCONT)  ( T_ACI_CMD_SRC srcId, U8 cid, T_PDP_CONTEXT *inputCtxt);
     T_ACI_RETURN (*sAT_PlusCGQREQ)   ( T_ACI_CMD_SRC srcId, U8 cid ,T_PS_qos *qos);
     T_ACI_RETURN (*sAT_PlusCGQMIN)   ( T_ACI_CMD_SRC srcId, U8 cid ,T_PS_min_qos *qos);
     T_ACI_RETURN (*sAT_PlusCGATT)    ( T_ACI_CMD_SRC srcId, T_CGATT_STATE state );
     T_ACI_RETURN (*sAT_PlusCGACT)    ( T_ACI_CMD_SRC srcId, T_CGACT_STATE state, U8 *cids );
     T_ACI_RETURN (*sAT_PercentCGACT) ( T_ACI_CMD_SRC srcId, T_CGACT_STATE state, U8 *cids );
     T_ACI_RETURN (*sAT_PlusCGDATA)   ( T_ACI_CMD_SRC srcId, char *L2P, U8 *p_cid_array );
     T_ACI_RETURN (*sAT_PlusCGPADDR)  ( T_ACI_CMD_SRC srcId, U8 *cids, T_NAS_ip *pdp_adress );
     T_ACI_RETURN (*sAT_PlusCGAUTO)   ( T_ACI_CMD_SRC srcId, T_CGAUTO_N n );
     T_ACI_RETURN (*sAT_PlusCGANS)    ( T_ACI_CMD_SRC srcId, S16 response, char *l2p, U8 cid );
     T_ACI_RETURN (*sAT_PlusCGCLASS)  ( T_ACI_CMD_SRC srcId, T_CGCLASS_CLASS m_class );
     T_ACI_RETURN (*sAT_PlusCGEREP)   ( T_ACI_CMD_SRC srcId, T_CGEREP_MODE mode, T_CGEREP_BFR bfr );
     T_ACI_RETURN (*sAT_PlusCGSMS)    ( T_ACI_CMD_SRC srcId, T_CGSMS_SERVICE service );

     T_ACI_RETURN (*sAT_PercentCGAATT) ( T_ACI_CMD_SRC srcId, T_CGAATT_ATTACH_MODE att_m, T_CGAATT_DETACH_MODE det_m );
     T_ACI_RETURN (*sAT_PercentSNCNT)  ( T_ACI_CMD_SRC srcId, BOOL reset_counter );

     T_ACI_RETURN (*sAT_PercentCGPPP)   ( T_ACI_CMD_SRC srcId, T_ACI_PPP_PROT protocol );
     T_ACI_RETURN (*qAT_PercentCGPPP)   ( T_ACI_CMD_SRC srcId, T_ACI_PPP_PROT *protocol );
     T_ACI_RETURN (*sAT_PercentCGCLASS) ( T_ACI_CMD_SRC srcId, T_PERCENT_CGCLASS m_class );

/***  read commands  ***/
     T_ACI_RETURN (*qAT_PercentCGPCO)  ( T_ACI_CMD_SRC srcId, ULONG *gateway, ULONG *dns1, ULONG *dns2, USHORT cid);
     T_ACI_RETURN (*qAT_PlusCGDCONT)   ( T_ACI_CMD_SRC srcId, T_PDP_CONTEXT *p_pdp_context_array, U8 *cid_array );
     T_ACI_RETURN (*qAT_PlusCGQREQ)    ( T_ACI_CMD_SRC srcId, U8 cid, BOOL *qos_valid, T_PS_qos *qos);
     T_ACI_RETURN (*qAT_PlusCGQMIN)    ( T_ACI_CMD_SRC srcId, U8 cid, BOOL *qos_valid, T_PS_qos *qos);
     T_ACI_RETURN (*qAT_PlusCGATT)     ( T_ACI_CMD_SRC srcId, T_CGATT_STATE *state );
     T_ACI_RETURN (*qAT_PlusCGACT)     ( T_ACI_CMD_SRC srcId, BOOL  *states, U8 *cid );
     T_ACI_RETURN (*qAT_PlusCGAUTO)    ( T_ACI_CMD_SRC srcId, T_CGAUTO_N *n);
     T_ACI_RETURN (*qAT_PlusCGCLASS)   ( T_ACI_CMD_SRC srcId, T_CGCLASS_CLASS *m_class );
     T_ACI_RETURN (*qAT_PlusCGEREP)    ( T_ACI_CMD_SRC srcId, T_CGEREP_MODE *mode, T_CGEREP_BFR *bfr );
     T_ACI_RETURN (*qAT_PlusCGREG)     ( T_ACI_CMD_SRC srcId, T_CGREG_STAT *stat, USHORT *lac, USHORT *ci );
     T_ACI_RETURN (*qAT_PercentCGREG)  ( T_ACI_CMD_SRC srcId, T_P_CGREG_STAT *stat, USHORT *lac, USHORT *ci );
     T_ACI_RETURN (*qAT_PlusCGSMS)     ( T_ACI_CMD_SRC srcId, T_CGSMS_SERVICE *service );
     T_ACI_RETURN (*qAT_PercentCGAATT) ( T_ACI_CMD_SRC srcId, T_CGAATT_ATTACH_MODE *att_m, T_CGAATT_DETACH_MODE *det_m );
     T_ACI_RETURN (*qAT_PercentCGCLASS)  ( T_ACI_CMD_SRC srcId, T_PERCENT_CGCLASS *m_class, T_PERCENT_CGCLASS *currentClass );
     T_ACI_RETURN (*qAT_PlusCGDSCONT)( T_ACI_CMD_SRC srcId, T_PDP_CONTEXT *p_pdp_context_array, U8 *cid_array );
     T_ACI_RETURN (*qAT_PlusCGTFT)   ( T_ACI_CMD_SRC srcId, U8 *cid_array );
#ifdef TI_PS_3GPP_R5
     T_ACI_RETURN (*qAT_PercentCGTFT)( T_ACI_CMD_SRC srcId, U8 *cid_array, T_NAS_tft *tft_array );
#endif

/***  test commands  ***/
     T_ACI_RETURN (*tAT_PlusCGPADDR) ( T_ACI_CMD_SRC srcId, U8 *cids);
     T_ACI_RETURN (*tAT_PlusCGSMS)   ( T_ACI_CMD_SRC srcId, SHORT *service_list);

     T_ACI_RETURN (*sAT_PlusCGDSCONT)( T_ACI_CMD_SRC srcId, U8 cid, T_PDP_CONTEXT *pdp_context_input );
     T_ACI_RETURN (*sAT_PlusCGEQREQ) ( T_ACI_CMD_SRC srcId, U8 cid, T_PS_qos *qos );
     T_ACI_RETURN (*sAT_PlusCGEQMIN) ( T_ACI_CMD_SRC srcId, U8 cid, T_PS_qos *qos );
     T_ACI_RETURN (*sAT_PlusCGEQNEG) ( T_ACI_CMD_SRC srcId, U8 cid, BOOL *qos_valid, T_PS_qos *qos);
     T_ACI_RETURN (*sAT_PlusCGCMOD)  ( T_ACI_CMD_SRC srcId, U8 *cid);
     T_ACI_RETURN (*sAT_PlusCGTFT)   ( T_ACI_CMD_SRC srcId, U8 cid, T_NAS_tft_pf *tft_pf_input );
#ifdef TI_PS_3GPP_R5
     T_ACI_RETURN (*sAT_PercentCGTFT)( T_ACI_CMD_SRC srcId, U8 cid, T_NAS_tft_pf *tft_pf_input, T_TFT_PRM_LIST *p_tft_pl_input);
#endif
     T_ACI_RETURN (*qAT_PlusCGEQREQ) ( T_ACI_CMD_SRC srcId, U8 cid, BOOL *qos_valid, T_PS_qos *qos);
     T_ACI_RETURN (*qAT_PlusCGEQMIN) ( T_ACI_CMD_SRC srcId, U8 cid, BOOL *qos_valid, T_PS_min_qos *qos);

     T_ACI_RETURN (*tAT_PlusCGEQNEG_CGCMOD) ( T_ACI_CMD_SRC srcId, U8 cid, BOOL *context_activated);
     T_ACI_RETURN (*tAT_PlusCGDSCONT)       ( T_ACI_CMD_SRC srcId, U8 cid, BOOL *context_activated );
};

#endif /* __TAPI_CMD_H__ */

